﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using MVCExam.Models;

namespace CRMExam.Controllers
{
    public class ChatController : Controller
    {

        public ActionResult Chat()
        {
            ChatModel model = new ChatModel();           

            model.ConnectionId = User.Identity.GetUserId();
            model.UserName = User.Identity.Name;

            return PartialView("_Chat", model);
        }
	}
}